﻿namespace HtmlParser.Dom
{
    using System.Collections;

    public abstract class XmlNodeList : IEnumerable
    {
        protected XmlNodeList()
        {
        }

        public abstract IEnumerator GetEnumerator();
        public abstract XmlNode item(int index);

        public abstract int Count { get; }

        public virtual XmlNode this[int i]
        {
            get
            {
                return this.item(i);
            }
        }
    }
}

